package com.youku.mson.lexer;

public enum TokenType {

	NUMBER("数字"),

	STRING("字符串"),

	NULL("null"),

	TRUE("true"),

	FALSE("false"),

	/**
	 * ,
	 */
	COMMA("逗号"),

	/**
	 * :
	 */
	COLON("冒号"),

	/**
	 * [
	 */
	LBRACKET("左方括号"),

	/**
	 * ]
	 */
	RBRACKET("右方括号"),

	/**
	 * {
	 */
	LBRACE("左大括号"),

	/**
	 * }
	 */
	RBRACE("右大括号"),

	EOF("结束标记");

	private String name;

	private TokenType(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}
}
